<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<style>

  .box {
    width: 600px;
    margin: 100px auto;
    font-size: 0;
    position: relative;
  }

  .circle {
    width: 30px;
    height: 30px;
    background: green;
    border-radius: 50%;
  }

  .circle1 {
    width: 10px;
    height: 10px;
    background: orange;
    border-radius: 50%;
    animation: logo2 2s ease-in;
  }

  .circleBox {
    position: absolute;
    top: 15px;
    left: 200px;
    animation: logo1 2s linear;
    animation-fill-mode: forwards
  }

  @keyframes logo1 {
    0%{
      transform: translateX(0);
    }
    25%{
      transform: translateX(-50px);
    }
    50%{
      transform: translateX(-100px);
    }
    75%{
      transform: translateX(-150px);
    }
    100%{
      transform: translateX(-200px);
    }
  }

  @keyframes logo2 {
    0%{
      transform: translateY(0);
    }
    25%{
      transform: translateY(-100px);
    }
    50%{
      transform: translateY(0);
    }
    75%{
      transform: translateY(-50px);
    }
    100%{
      transform: translateY(0);
    }
  }

</style>
<body>
  <div class="box">
    <div class="circle"></div>
    <div class="circleBox"><div class="circle1"></div></div>
    <div class="circle2"></div>
  </div>
</body>
</html>